home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Resources / Chat & Communication / Digsby build 37 / digsby_setup.exe / lib / ZSI / wstools / Namespaces.pyo (.txt) < prev    next >
Python Compiled Bytecode  |  2008-10-13  |  11KB  |  199 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.5)
  3.  
  4. ident = '$Id: Namespaces.py 1160 2006-03-17 19:28:11Z boverhof $'
  5.  
  6. try:
  7.     from xml.ns import SOAP, SCHEMA, WSDL, XMLNS, DSIG, ENCRYPTION
  8.     DSIG.C14N = 'http://www.w3.org/TR/2001/REC-xml-c14n-20010315'
  9. except:
  10.     
  11.     class SOAP:
  12.         ENV = 'http://schemas.xmlsoap.org/soap/envelope/'
  13.         ENC = 'http://schemas.xmlsoap.org/soap/encoding/'
  14.         ACTOR_NEXT = 'http://schemas.xmlsoap.org/soap/actor/next'
  15.  
  16.     
  17.     class SCHEMA:
  18.         XSD1 = 'http://www.w3.org/1999/XMLSchema'
  19.         XSD2 = 'http://www.w3.org/2000/10/XMLSchema'
  20.         XSD3 = 'http://www.w3.org/2001/XMLSchema'
  21.         XSD_LIST = [
  22.             XSD1,
  23.             XSD2,
  24.             XSD3]
  25.         XSI1 = 'http://www.w3.org/1999/XMLSchema-instance'
  26.         XSI2 = 'http://www.w3.org/2000/10/XMLSchema-instance'
  27.         XSI3 = 'http://www.w3.org/2001/XMLSchema-instance'
  28.         XSI_LIST = [
  29.             XSI1,
  30.             XSI2,
  31.             XSI3]
  32.         BASE = XSD3
  33.  
  34.     
  35.     class WSDL:
  36.         BASE = 'http://schemas.xmlsoap.org/wsdl/'
  37.         BIND_HTTP = 'http://schemas.xmlsoap.org/wsdl/http/'
  38.         BIND_MIME = 'http://schemas.xmlsoap.org/wsdl/mime/'
  39.         BIND_SOAP = 'http://schemas.xmlsoap.org/wsdl/soap/'
  40.         BIND_SOAP12 = 'http://schemas.xmlsoap.org/wsdl/soap12/'
  41.  
  42.     
  43.     class XMLNS:
  44.         BASE = 'http://www.w3.org/2000/xmlns/'
  45.         XML = 'http://www.w3.org/XML/1998/namespace'
  46.         HTML = 'http://www.w3.org/TR/REC-html40'
  47.  
  48.     
  49.     class DSIG:
  50.         BASE = 'http://www.w3.org/2000/09/xmldsig#'
  51.         C14N = 'http://www.w3.org/TR/2001/REC-xml-c14n-20010315'
  52.         C14N_COMM = 'http://www.w3.org/TR/2000/CR-xml-c14n-20010315#WithComments'
  53.         C14N_EXCL = 'http://www.w3.org/2001/10/xml-exc-c14n#'
  54.         DIGEST_MD2 = 'http://www.w3.org/2000/09/xmldsig#md2'
  55.         DIGEST_MD5 = 'http://www.w3.org/2000/09/xmldsig#md5'
  56.         DIGEST_SHA1 = 'http://www.w3.org/2000/09/xmldsig#sha1'
  57.         ENC_BASE64 = 'http://www.w3.org/2000/09/xmldsig#base64'
  58.         ENVELOPED = 'http://www.w3.org/2000/09/xmldsig#enveloped-signature'
  59.         HMAC_SHA1 = 'http://www.w3.org/2000/09/xmldsig#hmac-sha1'
  60.         SIG_DSA_SHA1 = 'http://www.w3.org/2000/09/xmldsig#dsa-sha1'
  61.         SIG_RSA_SHA1 = 'http://www.w3.org/2000/09/xmldsig#rsa-sha1'
  62.         XPATH = 'http://www.w3.org/TR/1999/REC-xpath-19991116'
  63.         XSLT = 'http://www.w3.org/TR/1999/REC-xslt-19991116'
  64.  
  65.     
  66.     class ENCRYPTION:
  67.         BASE = 'http://www.w3.org/2001/04/xmlenc#'
  68.         BLOCK_3DES = 'http://www.w3.org/2001/04/xmlenc#des-cbc'
  69.         BLOCK_AES128 = 'http://www.w3.org/2001/04/xmlenc#aes128-cbc'
  70.         BLOCK_AES192 = 'http://www.w3.org/2001/04/xmlenc#aes192-cbc'
  71.         BLOCK_AES256 = 'http://www.w3.org/2001/04/xmlenc#aes256-cbc'
  72.         DIGEST_RIPEMD160 = 'http://www.w3.org/2001/04/xmlenc#ripemd160'
  73.         DIGEST_SHA256 = 'http://www.w3.org/2001/04/xmlenc#sha256'
  74.         DIGEST_SHA512 = 'http://www.w3.org/2001/04/xmlenc#sha512'
  75.         KA_DH = 'http://www.w3.org/2001/04/xmlenc#dh'
  76.         KT_RSA_1_5 = 'http://www.w3.org/2001/04/xmlenc#rsa-1_5'
  77.         KT_RSA_OAEP = 'http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p'
  78.         STREAM_ARCFOUR = 'http://www.w3.org/2001/04/xmlenc#arcfour'
  79.         WRAP_3DES = 'http://www.w3.org/2001/04/xmlenc#kw-3des'
  80.         WRAP_AES128 = 'http://www.w3.org/2001/04/xmlenc#kw-aes128'
  81.         WRAP_AES192 = 'http://www.w3.org/2001/04/xmlenc#kw-aes192'
  82.         WRAP_AES256 = 'http://www.w3.org/2001/04/xmlenc#kw-aes256'
  83.  
  84.  
  85.  
  86. class WSRF_V1_2:
  87.     
  88.     class LIFETIME:
  89.         XSD_DRAFT1 = 'http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd'
  90.         XSD_DRAFT4 = 'http://docs.oasis-open.org/wsrf/2004/11/wsrf-WS-ResourceLifetime-1.2-draft-04.xsd'
  91.         WSDL_DRAFT1 = 'http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl'
  92.         WSDL_DRAFT4 = 'http://docs.oasis-open.org/wsrf/2004/11/wsrf-WS-ResourceLifetime-1.2-draft-04.wsdl'
  93.         LATEST = WSDL_DRAFT4
  94.         WSDL_LIST = (WSDL_DRAFT1, WSDL_DRAFT4)
  95.         XSD_LIST = (XSD_DRAFT1, XSD_DRAFT4)
  96.  
  97.     
  98.     class PROPERTIES:
  99.         XSD_DRAFT1 = 'http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd'
  100.         XSD_DRAFT5 = 'http://docs.oasis-open.org/wsrf/2004/11/wsrf-WS-ResourceProperties-1.2-draft-05.xsd'
  101.         WSDL_DRAFT1 = 'http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl'
  102.         WSDL_DRAFT5 = 'http://docs.oasis-open.org/wsrf/2004/11/wsrf-WS-ResourceProperties-1.2-draft-05.wsdl'
  103.         LATEST = WSDL_DRAFT5
  104.         WSDL_LIST = (WSDL_DRAFT1, WSDL_DRAFT5)
  105.         XSD_LIST = (XSD_DRAFT1, XSD_DRAFT5)
  106.  
  107.     
  108.     class BASENOTIFICATION:
  109.         XSD_DRAFT1 = 'http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd'
  110.         WSDL_DRAFT1 = 'http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl'
  111.         LATEST = WSDL_DRAFT1
  112.         WSDL_LIST = (WSDL_DRAFT1,)
  113.         XSD_LIST = (XSD_DRAFT1,)
  114.  
  115.     
  116.     class BASEFAULTS:
  117.         XSD_DRAFT1 = 'http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd'
  118.         XSD_DRAFT3 = 'http://docs.oasis-open.org/wsrf/2004/11/wsrf-WS-BaseFaults-1.2-draft-03.xsd'
  119.         XSD_LIST = (XSD_DRAFT1, XSD_DRAFT3)
  120.  
  121.  
  122. WSRF = WSRF_V1_2
  123. WSRFLIST = (WSRF_V1_2,)
  124.  
  125. class OASIS:
  126.     WSSE = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd'
  127.     UTILITY = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd'
  128.     
  129.     class X509TOKEN:
  130.         Base64Binary = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary'
  131.         STRTransform = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0'
  132.         PKCS7 = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#PKCS7'
  133.         X509 = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509'
  134.         X509PKIPathv1 = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509PKIPathv1'
  135.         X509v3SubjectKeyIdentifier = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3SubjectKeyIdentifier'
  136.  
  137.     LIFETIME = WSRF_V1_2.LIFETIME.XSD_DRAFT1
  138.     PROPERTIES = WSRF_V1_2.PROPERTIES.XSD_DRAFT1
  139.     BASENOTIFICATION = WSRF_V1_2.BASENOTIFICATION.XSD_DRAFT1
  140.     BASEFAULTS = WSRF_V1_2.BASEFAULTS.XSD_DRAFT1
  141.  
  142.  
  143. class WSTRUST:
  144.     BASE = 'http://schemas.xmlsoap.org/ws/2004/04/trust'
  145.     ISSUE = 'http://schemas.xmlsoap.org/ws/2004/04/trust/Issue'
  146.  
  147.  
  148. class WSSE:
  149.     BASE = 'http://schemas.xmlsoap.org/ws/2002/04/secext'
  150.     TRUST = WSTRUST.BASE
  151.  
  152.  
  153. class WSU:
  154.     BASE = 'http://schemas.xmlsoap.org/ws/2002/04/utility'
  155.     UTILITY = 'http://schemas.xmlsoap.org/ws/2002/07/utility'
  156.  
  157.  
  158. class WSR:
  159.     PROPERTIES = 'http://www.ibm.com/xmlns/stdwip/web-services/WS-ResourceProperties'
  160.     LIFETIME = 'http://www.ibm.com/xmlns/stdwip/web-services/WS-ResourceLifetime'
  161.  
  162.  
  163. class WSA200408:
  164.     ADDRESS = 'http://schemas.xmlsoap.org/ws/2004/08/addressing'
  165.     ANONYMOUS = '%s/role/anonymous' % ADDRESS
  166.     FAULT = '%s/fault' % ADDRESS
  167.  
  168.  
  169. class WSA200403:
  170.     ADDRESS = 'http://schemas.xmlsoap.org/ws/2004/03/addressing'
  171.     ANONYMOUS = '%s/role/anonymous' % ADDRESS
  172.     FAULT = '%s/fault' % ADDRESS
  173.  
  174.  
  175. class WSA200303:
  176.     ADDRESS = 'http://schemas.xmlsoap.org/ws/2003/03/addressing'
  177.     ANONYMOUS = '%s/role/anonymous' % ADDRESS
  178.     FAULT = None
  179.  
  180. WSA = WSA200408
  181. WSA_LIST = (WSA200408, WSA200403, WSA200303)
  182.  
  183. class WSP:
  184.     POLICY = 'http://schemas.xmlsoap.org/ws/2002/12/policy'
  185.  
  186.  
  187. class BEA:
  188.     SECCONV = 'http://schemas.xmlsoap.org/ws/2004/04/sc'
  189.     SCTOKEN = 'http://schemas.xmlsoap.org/ws/2004/04/security/sc/sct'
  190.  
  191.  
  192. class GLOBUS:
  193.     SECCONV = 'http://wsrf.globus.org/core/2004/07/security/secconv'
  194.     CORE = 'http://www.globus.org/namespaces/2004/06/core'
  195.     SIG = 'http://www.globus.org/2002/04/xmlenc#gssapi-sign'
  196.     TOKEN = 'http://www.globus.org/ws/2004/09/security/sc#GSSAPI_GSI_TOKEN'
  197.  
  198. ZSI_SCHEMA_URI = 'http://www.zolera.com/schemas/ZSI/'
  199.